home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1432.dms / var1432.adf / NDUK-V40.lha / V40 / include / resources / battmembitsshared.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  2KB  |  85 lines

  1. #ifndef RESOURCES_BATTMEMBITSSHARED_H
  2. #define RESOURCES_BATTMEMBITSSHARED_H 1
  3. /*
  4. **    $VER: battmembitsshared.h 39.2 (4.6.93)
  5. **    Includes Release 40.15
  6. **
  7. **    BattMem shared specific bit definitions.
  8. **
  9. **    (C) Copyright 1989-1993 Commodore-Amiga Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13.  
  14. /*
  15.  * Shared bits in the battery-backedup ram.
  16.  *
  17.  *    Bits 64 and above
  18.  */
  19.  
  20. /*
  21.  * SHARED_AMNESIA
  22.  *
  23.  *        The battery-backedup memory has had a memory loss.
  24.  *        This bit is used as a flag that the user should be
  25.  *        notified that all battery-backed bit have been
  26.  *        reset and that some attention is required. Zero
  27.  *        indicates that a memory loss has occured.
  28.  */
  29.  
  30. #define BATTMEM_SHARED_AMNESIA_ADDR    64
  31. #define BATTMEM_SHARED_AMNESIA_LEN    1
  32.  
  33.  
  34. /*
  35.  * SCSI_HOST_ID
  36.  *
  37.  *        a 3 bit field (0-7) that is stored in complemented form
  38.  *        (this is so that default value of 0 really means 7)
  39.  *        It's used to set the A3000 controllers SCSI ID (on reset)
  40.  */
  41.  
  42. #define BATTMEM_SCSI_HOST_ID_ADDR    65
  43. #define BATTMEM_SCSI_HOST_ID_LEN    3
  44.  
  45.  
  46. /*
  47.  * SCSI_SYNC_XFER
  48.  *
  49.  *        determines if the driver should initiate synchronous
  50.  *        transfer requests or leave it to the drive to send the
  51.  *        first request.    This supports drives that crash or
  52.  *        otherwise get confused when presented with a sync xfer
  53.  *        message.  Default=0=sync xfer not initiated.
  54.  */
  55.  
  56. #define BATTMEM_SCSI_SYNC_XFER_ADDR    68
  57. #define BATTMEM_SCSI_SYNC_XFER_LEN    1
  58.  
  59. /*
  60.  * SCSI_FAST_SYNC
  61.  *
  62.  *        determines if the driver should initiate fast synchronous
  63.  *        transfer requests (>5MB/s) instead of older <=5MB/s requests.
  64.  *        Note that this has no effect if synchronous transfers are not
  65.  *        negotiated by either side.
  66.  *        Default=0=fast sync xfer used.
  67.  */
  68.  
  69. #define BATTMEM_SCSI_FAST_SYNC_ADDR    69
  70. #define BATTMEM_SCSI_FAST_SYNC_LEN    1
  71.  
  72. /*
  73.  * SCSI_TAG_QUEUES
  74.  *
  75.  *        determines if the driver should use SCSI-2 tagged queuing
  76.  *        which allows the drive to accept and reorder multiple read
  77.  *        and write requests.
  78.  *        Default=0=tagged queuing NOT enabled
  79.  */
  80.  
  81. #define BATTMEM_SCSI_TAG_QUEUES_ADDR    70
  82. #define BATTMEM_SCSI_TAG_QUEUES_LEN    1
  83.  
  84. #endif /* RESOURCES_BATTMEMBITSSHARED_H */
  85.